main:main.cc
	g++ -o $@ $^ -std=c++11 -lpthread -lmysqlclient -ljsoncpp -lcrypto -lssl -lpaho-mqtt3as -lpaho-mqttpp3
.PHONY:clean
clean:
	rm -f main